import { http } from '@/utils/http/axios';

export function pageParamConfig(data = {}) {
  return http.request({
    url: '/admin/sys/paramConfig/page',
    method: 'post',
    data,
  });
}

export function addParamConfig(data = {}) {
  return http.request({
    url: '/admin/sys/paramConfig/add',
    method: 'post',
    data,
  });
}

export function updateParamConfig(data = {}) {
  return http.request({
    url: '/admin/sys/paramConfig/update',
    method: 'post',
    data,
  });
}

export function delParamConfig(data = {}) {
  return http.request({
    url: '/admin/sys/paramConfig/delete',
    method: 'post',
    data,
  });
}

export function infoParamConfig(data = {}) {
  return http.request({
    url: '/admin/sys/paramConfig/info',
    method: 'post',
    data,
  });
}

export function listInfoParamConfigList(data = []) {
  return http.request({
    url: '/admin/sys/paramConfig/listInfo',
    method: 'post',
    data,
  });
}
